<script setup lang="ts">
let score = 100
const changeScore = () => {
  score++
  console.log(score)
}
</script>

<template>
  <div>
    <div>分数: {{ score }}</div>
    <button @click="changeScore">修改成绩</button>
  </div>
</template>

<style></style>
